package cn.appscomm.user.controller.v1;

import cn.appscomm.user.inout.LoginRequestVO;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("user/v1/")
public class UserController {

    @RequestMapping(value = "/login", method = RequestMethod.POST)
    @ResponseBody
    public String login(@RequestBody LoginRequestVO loginRequestVO) {
        System.out.println("account: " + loginRequestVO.getAccount());
        return "login api";
    }
}
